<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
{eval $user=$this->user; $setting=$this->setting;}
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Tipask's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset={TIPASK_CHARSET}">
<link media="all" type="text/css" href="css/common/admin/admincp.css" rel="stylesheet" />
</head>

<body>

<div id="append">
</div>

<div class="container">

	<!--{if isset($message)}-->
		<!--{eval $type=isset($type)?$type:'correctmsg'; }-->
		<div class="{$type}"><p>{$message}</p></div>
	<!--{/if}-->
	
	<div class="note fixwidthdec">
		<p class="i">允许/禁止的 UserAgent  只需填写 UserAgent  的关键单词，每行填写一个，例如  Firefox/3.6.3</p>
	</div>
	<div class="mainbox nomargin">
		<form action="index.php?admin_setting/stopcopy{$setting['seo_suffix']}" method="post">
			<table class="opt">
				
				<tr>
					<th colspan="2">开启防采集:</th>
				</tr>
				<tr>
					<td>
					<input class="radio"  type="radio"  {if 1==$setting['stopcopy_on'] }checked{/if}  value="1" name="stopcopy_on"><label for="yes">是</label>
					<input class="radio"  type="radio"  {if 0==$setting['stopcopy_on'] }checked{/if} value="0" name="stopcopy_on"><label for="no">否</label>
					</td>
					<td valign="top">开启后会降低系统性能。</td>
				</tr>
				
				<tr>
					<th colspan="2">允许的 UserAgent 关键词:</th>
				</tr>
				<tr>
					<td><textarea class="area" name="stopcopy_allowagent">{$setting['stopcopy_allowagent']}</textarea></td>
					<td valign="top">这类访问不会被禁止。</td>
				</tr>
				<tr>
					<th colspan="2">禁止的 UserAgent 关键词:</th>
				</tr>
				<tr>
					<td><textarea class="area" name="stopcopy_stopagent">{$setting['stopcopy_stopagent']}</textarea></td>
					<td valign="top">这类访问会被禁止。</td>
				</tr>

				<tr>
					<th colspan="2">每分钟访问关键页面最大数目（页）:</th>
				</tr>
				<tr>
					<td><input class="txt" value="{$setting['stopcopy_maxnum']}" name="stopcopy_maxnum"></td>
					<td>超过这个数目，访问会自动被禁止。</td>
				</tr>
			</table>
			
			<div class="opt"><input class="btn" tabindex="3" type="submit" value=" 提 交 " name="submit"></div>
			
		</form>
	</div>
</div>

</body>

</html>
